<template>
  <div>
    <img src="../../assets/bg@2x.png" width="100%" style="position: absolute"/>
    <div>
      <img src="../../assets/下载按钮@2x.png" class="button" alt="" @click="onDownload"/>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Index',
  methods: {
    onDownload() {
      console.log('下载连接')
      const a = document.createElement('a')
      a.href = 'https://resource.xinqu.quji.com/gamebox/apk/gb.apk'
      a.click()
    }
  }
}
</script>

<style scoped>
.button {
  position: absolute;
  bottom: 78px;
  width: 80%;
  left: 10%;
}
</style>
